package com.cskaoyan.bean;

import com.cskaoyan.demo1.Interface1;
import com.cskaoyan.demo1.Interface2;
import lombok.Data;

/**
 * @author stone
 * @date 2022/12/20 00:11
 */
@Data
public class LifeCycleBean implements Interface1/*, Interface2 */{
    int num = 0;

    @Override
    public void method1() {
        num += 1;
    }

    //@Override
    public void method2() {
        num += 2;
    }
}
